<%@ include file="../layout/taglib.jsp" %>
 <div class="container content-top" id="product_detail">
		
			  <div class="section group">
				 <div class="col span_2_of_contact" id="product_detail">
				  <div class="">
				  	<h3>${course.titleProd}</h3>
					    <div>
					        <span>
						      ${course.description}
						    </span>
						</div>
					</div>
					
					<div>
					   <div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><t:message code="price"/></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;">${course.price} VND</p>
							</div>
						</div>
						
						
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><t:message code="status"/></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;">
								  	
									<c:if test="${course.qtyInStock > 0}">Còn hàng</c:if>
									<c:if test="${course.qtyInStock eq 0}">Hết hàng</c:if>
											
								</p>
							</div>
						</div>
						
						 <form  action="toBasket" method="POST" name="commande">
					     
					      <input type="hidden" value="${course.idCourse}" name="idCourse"/>
					     
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label">Số lượng mua</label>
							
							<div class="col-sm-9">
								 <select name="qty">
										 <option value="1" selected="selected">1</option>  
					                  	 <option value="2">2</option>
					                  	 <option value="3">3</option>
					                  	 <option value="4">4</option>
					                  	 <option value="5">5</option>
					                  	 <option value="6">6</option>
					                  	 <option value="7">7</option>
					              </select>  
					         </div>
						</div>
						 
						<div class="clear"></div>
						 
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;">
								   <input type="submit" class="btn btn-success" value="<t:message code="commande"/>"/>
								</p>
							</div>
						</div>
				      
				      </form>
				       
					
					</div>
  				</div>
  				
  				<div class="col span_1_of_contact">
				  <div class="company_address">
				     	    	<p><div class="boxImage"><img src="<%=request.getContextPath()%>/photoCorfront/${course.idCourse}" alt="${course.nomPhoto}"/></div></p>
				   </div>
				 </div>
				 
				 <div class="clear"></div>
				 
			  </div>
			
			
		
	</div>
	